The function g-chord enables the composer to generate chords from a symbol melody or row. The size of the chord generated will lie between <chord-low> and <chord-high> parameters. The optional transposition of symbol elements can also be set to lie between <transp-low> and <transp-high> parameters.
In the following example notice how the function enables a sequence of identical outputs from the <gen-repeat> to be processed as unique sequences of chords. Normally, this sort of process would only be possible with the function <gen-collect>.
(g-chord .23 1 4 -5 45
(gen-repeat 12 (list '(a b c d e f g h i j k l))))
=> ((z[\] fgh pq wxy) (rstu mnop klm o)
(vwx -c _`ab i ` ij) (-f-e-d-c nop vwxy q)
(s c -d-c i c fg pqrs) (efgh w g bc m g jk)
(efg vwxy i d no i) (ij wx k lm bcd lm)
([\ wx [\ nopq tu) (-c-bab ijk z[\ lm)
(-d ef yz pqrs t \ ^) (d qrst defg nop))
(g-chord .23 3 5 -5 45
(gen-repeat 12 (list '(a b c d e f g h i j k l))))